package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallSpecificTemplateDao;
import com.appkubes.mall.core.entity.MallSpecificTemplate;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallSpecificTemplateService extends AbstractBaseService<BaseMallSpecificTemplateDao, MallSpecificTemplate> {

    MallSpecificTemplate getOneByEntity(MallSpecificTemplate entity);

    List<MallSpecificTemplate> selectListByEntity(MallSpecificTemplate entity);

    IPage<MallSpecificTemplate> selectPageByEntity(IPage<MallSpecificTemplate> page);
    IPage<MallSpecificTemplate> selectPageByEntity(PageVO pageVO);

    IPage<MallSpecificTemplate> selectPageByEntity(MallSpecificTemplate entity, IPage<MallSpecificTemplate> page);
    IPage<MallSpecificTemplate> selectPageByEntity(MallSpecificTemplate entity, PageVO pageVO);

    IPage<MallSpecificTemplate> selectPageByEntity(MallSpecificTemplate entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallSpecificTemplate entity);
}
